package org.keyyond.ms.scheduler.jobs;

import org.keyyond.ms.scheduler.service.MsXzcxJobService;
import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;

@DisallowConcurrentExecution //非并发执行
public class SendMaterialInvoice  implements BaseJob{
    
    @Autowired
    private MsXzcxJobService xzcxJobService;

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
	xzcxJobService.sendMaterialInvoiceJob();
    }

}
